// Get the path of the currently running do-file
local do_file_path `c(pwd)'

// Change the working directory to the location of the do-file
cd "`do_file_path'"

clear
use "proc_data\ELEC_AICD2021-03-23.dta"
rename *, lower
label variable dist2elecafr "Distance to any electricity transmission line in Africa : AICD 2008"
label variable dist2elecreg "Distance to any electricity transmission line in 4 Lake Chad countries : AICD 2008"
label variable dist2elecctr "Distance to any electricity transmission line in country : AICD 2008"

*label variable dist2elecnew "Distance to electricity transmission lines : Africa Grid World Bank 2017"

save "proc_data\ELEC_all.dta", replace
